using B.S.RbacData.ErrorCode;
using ContentmanagementBaseRead.API.Dtos;
using MediatR;

namespace ContentmanagementBaseRead.API.Applications.Commands.Drugstores
{
    /// <summary>
    /// 获取药店列表信息命令
    /// </summary>
    public class GetDrugstoreListCommand : IRequest<ApiPaging<List<DrugstoreListDto>>>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 每页数量
        /// </summary>
        public int PageSize { get; set; } = 10;

        /// <summary>
        /// 药店名称（搜索条件）
        /// </summary>
        public string? PharmacyName { get; set; }

        /// <summary>
        /// 所在地区（搜索条件）
        /// </summary>
        public string? PharmacyAddress { get; set; }

    }
}